package com.haida.translation_web.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haida.translation_web.pojo.TransRecordEntity;
import com.haida.translation_web.pojo.respone.PageUtils;
import com.haida.translation_web.pojo.respone.R;

import java.util.Map;

/**
 * @Author LHJ_Jack
 * @Description TODO
 * @Date 2021/05/29 星期六 21:00
 */
public interface TransRecordService extends IService<TransRecordEntity> {

    PageUtils queryPage(Map<String, Object> params);
    /**
     * 翻译
     * @param entity
     * @return
     */
    R trans(TransRecordEntity entity);
}
